package pandora.dto;


public class ProductDTO {

	private BrandDTO brand;
	private TypeDTO type;
	private String barcode;
	private String productName;
	private String productDetails;
	
	public String getProductName() {
		return productName;
	}
	
	public void setProductName(String productName) {
		this.productName = productName;
	}
	
	public String getProductDetails() {
		return productDetails;
	}
	
	public void setProductDetails(String productDetails) {
		this.productDetails = productDetails;
	}
	public String toString(){
		super.toString();
		String s=this.getProductName()+" "+this.getProductDetails()+" \n";	
		return s;
	}

	public void setBarcode(String barcode) {
		this.barcode = barcode;
	}

	public String getBarcode() {
		return barcode;
	}

	public void setBrand(BrandDTO brand) {
		this.brand = brand;
	}

	public BrandDTO getBrand() {
		return brand;
	}

	public void setType(TypeDTO type) {
		this.type = type;
	}

	public TypeDTO getType() {
		return type;
	}
	
}
